package com.cy.pj.eiems.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.cy.pj.eiems.entity.Course;

@Mapper
public interface CourseDao {
	List<Course> findObjects(
			@Param("coursename")String coursename,
			@Param("startIndex")Integer startIndex,
			@Param("pageSize")Integer pageSize
			);
	int getRowCount(@Param("coursename") String coursename);
	
	int insertObject(Course entity);
}
